﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Example6_Particles.View
{
    class ExplosionParticle
    {

        Vector2 m_speed;

        internal ExplosionParticle(Vector2 a_speed)
        {
            m_speed = a_speed;

        }

        internal Vector2 GetPosition(float a_elapsedTime)
        {
            float time = a_elapsedTime;
            
            //return the interpolated position
            return m_speed * time;
        }

        
    }
}
